package com.hnust.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 老师&课程组操作的DAO层
 * @author 焦硕洁
 * @date 2020/10/30
 */
@Mapper
@Repository
public interface AuditJoinDao {
//    //老师申请加入课程组
    @Insert("insert into audit_join (aud_join_id,result,tea_id,cou_gro_id) values (#{auditJoinId},#{result},#{teacherId},#{groupId})")
    @ResultType(Integer.class)
    Integer addAuditJoin(String auditJoinId,Integer result,String teacherId,String groupId);
}

